package com.efast.cafe.portal.dao.doc;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.efast.cafe.portal.bean.doc.DocAttrsQueryBean;
import com.efast.cafe.portal.entity.doc.DocAttrs;

public interface DocAttrsDao {

	/**
	 * 查询文件属性列表
	 * @param companyCode
	 * @param attrName
	 * @param attrType
	 * @return
	 */
	public List<DocAttrs> queryAttrsList(DocAttrsQueryBean queryBean);
	
	public Integer queryAttrsCount(DocAttrsQueryBean queryBean);
	/**
	 * 保存文件属性
	 * @param docAttrs
	 */
	public void addDocAttrs(DocAttrs docAttrs);
	/**
	 * 修改文件属性
	 */
	public void updateDocAttrs(DocAttrs docAttrs);
	/**
	 * 删除文件属性
	 */
	public void deleteDocAttrs(@Param(value="id")Integer id);
}
